package cn.dylan.user.mapper;


import cn.dylan.basic.mapper.BaseMapper;
import cn.dylan.user.domain.Logininfo;
import cn.dylan.user.domain.User;
import cn.dylan.user.dto.LoginDto;

/**
 * 用户mapper层
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    User findByPhone(String phone);

    Logininfo loadByDto(LoginDto dto);

    Logininfo loadLogininfoByUserId(Long userid);
}
